libxl: ocaml: fix memory corruption when converting string and key/values lists
authorRob Hoes <rob.hoes@citrix.com>
Mon, 9 Dec 2013 15:17:29 +0000 (15:17 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 10 Dec 2013 13:34:53 +0000 (13:34 +0000)
commit1dfb44be050bc7605b452ab7c745e797b74db79f
tree4562344c4b272ead1c6f5ffc55b8122a0f3f372d
parent3a5767a869cc7c6a1072014fc03a7b7ba3f92bc0
libxl: ocaml: fix memory corruption when converting string and key/values lists

Found by Coverty. CIDs: 1128562 1128563 1128564 1128565.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: David Scott <dave.scott@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/ocaml/libs/xl/xenlight_stubs.c